package com.neuedu.carsystem.dao;

import java.util.List;
import java.util.Map;

import com.neuedu.carsystem.model.Car;

public interface CarDao {
	//查寻车辆
	public List<Car> findCarAll(Map<String, Object> map);
	//根据id查询
	public Car findById(int id);
	//添加车辆
	public int addCar(Car u);
	//删除车辆
	public int deleteCar(int id);
	//修改车辆
	public int updateCar(int u);
	//统计表记录
	public int countCar();
}
